package com.jy.rhin.model.body.zhuyaojiankangwenti;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import lombok.Data;

/**
 * @Author 姚俊
 * @Date 2023/2/7 14:40
 * @Description 主要健康问题
 */
@Data
public class ZhuYaoJKWT {

    //咨询问题
    @XPath(model = "code"
            , codePath = "/entry/observation/code[@code='DE04.01.120.00'][@codeSystem='2.16.156.10011.2.2.1']"
            , path = "/value/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_01_120_00, nullable = true))
    String ziXunWT;
    //卫生服务要求
    @XPath(model = "code"
            , codePath = "/entry/observation/code[@code='DE09.00.056.00'][@codeSystem='2.16.156.10011.2.2.1']"
            , path = "/value/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE09_00_056_00, nullable = true))
    String weiShengFWYQ;
}
